/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-08-12     admin       the first version
 */
#ifndef APPLICATIONS_SY_MQTT_CLIENT_H_
#define APPLICATIONS_SY_MQTT_CLIENT_H_

#ifdef __cplusplus
extern "c"{
#endif

int Bc26_MqttInit();
int Mqtt_Publish(unsigned char *topic,unsigned char *data);
void Bc26_DataAnalysis(void *data,unsigned int len);
void Bc26_MqttRecCallback(unsigned char *msg,unsigned int size);
void Mqtt_Dataanalysis(unsigned char *msg,unsigned int size);

#ifdef __cplusplus
}
#endif
#endif /* APPLICATIONS_SY_MQTT_CLIENT_H_ */
